/* 全局样式 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
}

/* 轮播图样式 */
.carousel-item {
    height: 500px;
    background-color: #000;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background-color: rgba(0,0,0,.5);
    padding: 20px;
    border-radius: 5px;
}

/* 卡片样式 */
.card {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* 表单样式 */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 按钮样式 */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* 页脚样式 */
footer {
    margin-top: auto;
    padding: 20px 0;
    background-color: #343a40;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h5 {
        font-size: 1rem;
    }
}

/* 个人主页样式 */
.profile-section {
    margin-bottom: 30px;
}

.profile-section img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 